package com.jindy.module.oaDepartTurnApply.service;

import java.util.List;
import com.jindy.module.oaDepartTurnApply.domain.SyOaDepartTurn;
import com.jindy.module.oaFinanceApproval.domain.SyOaFinance;

/**
 * 离职交接申请Service接口
 * 
 * @author jindy
 * @date 2023-06-26
 */
public interface ISyOaDepartTurnService 
{
    /**
     * 查询离职交接申请
     * 
     * @param id 离职交接申请主键
     * @return 离职交接申请
     */
    public SyOaDepartTurn selectSyOaDepartTurnById(Long id);

    /**
     * 查询离职交接申请列表
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 离职交接申请集合
     */
    public List<SyOaDepartTurn> selectSyOaDepartTurnList(SyOaDepartTurn syOaDepartTurn);

    /**
     * 新增离职交接申请
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 结果
     */
    public int insertSyOaDepartTurn(SyOaDepartTurn syOaDepartTurn);

    /**
     * 修改离职交接申请
     * 
     * @param syOaDepartTurn 离职交接申请
     * @return 结果
     */
    public int updateSyOaDepartTurn(SyOaDepartTurn syOaDepartTurn);

    /**
     * 批量删除离职交接申请
     * 
     * @param ids 需要删除的离职交接申请主键集合
     * @return 结果
     */
    public int deleteSyOaDepartTurnByIds(Long[] ids);

    /**
     * 删除离职交接申请信息
     * 
     * @param id 离职交接申请主键
     * @return 结果
     */
    public int deleteSyOaDepartTurnById(Long id);

    /**
     * 提交申请
     * @param syOaDepartTurn
     */
    void submitApply(SyOaDepartTurn syOaDepartTurn) throws Exception;
}
